import request from '@/utils/request'

export function save(data) {
  return request({
    url: '/admin/sysFile/save',
    method: 'post',
    data: data
  })
}

export function find(id) {
  return request({
    url: '/admin/sysFile/find/' + id,
    method: 'get'
  })
}

export function update(data) {
  return request({
    url: '/admin/sysFile/update',
    method: 'post',
    data: data
  })
}
